import { NgModule, Type } from '@angular/core';
import { SharedModule } from '@shared';
import { NzDatePickerModule } from 'ng-zorro-antd/date-picker';
import { NzRadioModule } from 'ng-zorro-antd/radio';

import { ConfAccountComponent } from './account/account.component';
import { ConfAccountEditComponent } from './account/edit/edit.component';
import { ConfCompanyComponent } from './company/company.component';
import { ConfCompanyEditComponent } from './company/edit/edit.component';
import { ConfRoutingModule } from './conf-routing.module';
import { ConfHostEditComponent } from './host/edit/edit.component';
import { ConfHostComponent } from './host/host.component';
import { ConfHostStateComponent } from './host/state/state.component';

const COMPONENTS: Array<Type<void>> = [
  ConfAccountComponent,
  ConfAccountEditComponent,
  ConfCompanyComponent,
  ConfCompanyEditComponent,
  ConfHostComponent,
  ConfHostEditComponent,
  ConfHostStateComponent
];

@NgModule({
  imports: [SharedModule, ConfRoutingModule, NzRadioModule, NzDatePickerModule],
  declarations: COMPONENTS
})
export class ConfModule {}
